import axios from './index'

export const loginApi = (username, password) => axios({
  url: '/users/login',
  method: 'POST',
  data: {
    username,
    password
  }
})